package com.gulimall.seckill.feign;

import com.guigui.common.to.SkuInfoTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/skuinfo/id/{skuId}")
    SkuInfoTo getSkuInfoBySkuId(@PathVariable("skuId") Long skuId);

}
